

#ifndef _SHELL_RESACTIVITYTITLE_MESSAGE_H_
#define _SHELL_RESACTIVITYTITLE_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include <vector>
//#include "TitleByTimeBean.h"
using namespace std;

class ResActivityTitleMessage : public Message
{
	public:
	ResActivityTitleMessage();
	~ResActivityTitleMessage();
	void reset();
	ResActivityTitleMessage* clone();
	static const int _ID;
	//当前活动称号
	vector<TitleByTimeBean*> titles;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
